import 'package:json_annotation/json_annotation.dart';

part 'Avatar.g.dart';

@JsonSerializable(nullable: false)
class Avatar {
  String small;
  String large;
  String medium;

  Avatar(
    this.small,
    this.large,
    this.medium,
  );

  factory Avatar.fromJson(Map<String, dynamic> json) => _$AvatarFromJson(json);
  Map<String, dynamic> toJson() => _$AvatarToJson(this);
}
